<?php
$title = "OnlineShop-Personal";
$css = "personal.css";
include_once 'common/top.php';
?>
<?php 
if(!isset($nav_page)){
	$nav_page = 0;
}

function isChosen($id,$page){
	if($id == $page){
		echo "class = \"chosen\"";
	}
}
?>
<div id="personal">
	<div id="personal_nav">
		<a href="personal.php" <?php isChosen(0,$nav_page);?>>Personal</a>
		<a href="personal_change.php" <?php isChosen(1,$nav_page);?>>Modify</a>
		<a href="personal_book.php" <?php isChosen(2,$nav_page);?>>Orders </a>
		<a href="personal_marks.php" <?php isChosen(3,$nav_page);?>>Points</a>
		<a href="personal_delete.php" <?php isChosen(9,$nav_page);?> id="delete">Nullify</a>
	</div>